package com.ruoyi.proSystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 规格库存对象 pro_inventory
 *
 * @author ruoyi
 * @date 2024-07-29
 */
public class ProInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 判断是单规格多规格 */
    @Excel(name = "判断是单规格多规格")
    private String hasone;

    /** 规格表id */
    @Excel(name = "规格表id")
    private String hasmore;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 售价 */
    @Excel(name = "售价")
    private Integer salePrice;

    /** 成本价 */
    @Excel(name = "成本价")
    private Integer originalCost;

    /** 库存 */
    @Excel(name = "库存")
    private String inventory;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Integer proId;

    /** 重量 */
    @Excel(name = "重量")
    private String weight;

    /** 体积 */
    @Excel(name = "体积")
    private String tiji;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setHasone(String hasone)
    {
        this.hasone = hasone;
    }

    public String getHasone()
    {
        return hasone;
    }
    public void setHasmore(String hasmore)
    {
        this.hasmore = hasmore;
    }

    public String getHasmore()
    {
        return hasmore;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setSalePrice(Integer salePrice)
    {
        this.salePrice = salePrice;
    }

    public Integer getSalePrice()
    {
        return salePrice;
    }
    public void setOriginalCost(Integer originalCost)
    {
        this.originalCost = originalCost;
    }

    public Integer getOriginalCost()
    {
        return originalCost;
    }
    public void setInventory(String inventory)
    {
        this.inventory = inventory;
    }

    public String getInventory()
    {
        return inventory;
    }
    public void setProId(Integer proId)
    {
        this.proId = proId;
    }

    public Integer getProId()
    {
        return proId;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }
    public void setTiji(String tiji)
    {
        this.tiji = tiji;
    }

    public String getTiji()
    {
        return tiji;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hasone", getHasone())
            .append("hasmore", getHasmore())
            .append("img", getImg())
            .append("salePrice", getSalePrice())
            .append("originalCost", getOriginalCost())
            .append("inventory", getInventory())
            .append("proId", getProId())
            .append("weight", getWeight())
            .append("tiji", getTiji())
            .toString();
    }
}
